package com.s3.khospitalds.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.s3.khospitalds.entity.Provinces;
import com.s3.khospitalds.mapper.ProvincesMapper;
import com.s3.khospitalds.service.ProvincesService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Author: xw
 * @CreateTime: 2025/3/5
 * @Description:省份
 * @Version: 1.0
 */
@Service
public class ProvincesServiceImpl extends ServiceImpl<ProvincesMapper, Provinces> implements ProvincesService {
    @Autowired
    private ProvincesMapper provincesMapper;

    @Override
    public List<Provinces> selectAllProvinces() {
        return provincesMapper.selectAllProvinces();
    }
}
